Skip to content

Conversation

@dynco-nym
Copy link
Contributor

@dynco-nym dynco-nym commented Dec 18, 2025

This change is Reviewable

@dynco-nym dynco-nym requested a review from jstuczyn December 18, 2025 13:22
@github-actions
Copy link

Thank you for making this first PR

@vercel
Copy link

vercel bot commented Dec 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nym-explorer-v2 Ready Ready Preview, Comment Dec 19, 2025 2:43pm
2 Skipped Deployments
Project Deployment Review Updated (UTC)
docs-nextra Ignored Ignored Preview Dec 19, 2025 2:43pm
nym-node-status Ignored Ignored Preview Dec 19, 2025 2:43pm

- force route construction
- use same entry = exit
[package]
name = "nym-node-status-agent"
version = "1.0.7"
version = "1.0.8-gw-socks5"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to annotate the version with gw-socks5 suffix? it will either have it or not. i.e. there wouldn't be 1.0.8 that does not have it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't stay, I needed a version which wouldn't conflict with what we'll use in prod to build & deploy in a test env


/// endpoint to test against
/// https://www.quicknode.com/docs/ethereum/web3_clientVersion
const TARGET_URL: &str = "https://docs-demo.quiknode.pro";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we testing against this quite random website? why not something we control or something that's more used for this purpose

) -> anyhow::Result<ProbeResult> {
let exit_gateway = match gateway_key {
Some(gateway_key) => NodeIdentity::from_base58_string(gateway_key)?,
None => directory.random_exit_with_nr()?,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the point of testing a random gateway for socks5?

if let Some(ref nr_details) = node_info.network_requester_details {
match do_socks5_connectivity_test(
&nr_details.address,
NymNetworkDetails::new_from_env(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if env is not set?

};

info!("Waiting for network topology to be ready...");
tokio::time::sleep(Duration::from_secs(10)).await;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couldn't we wait for some condition rather than always wait 10s? what if topology takes longer than that? (or way less than that)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants